package com.atguigu.day14.read;

/**
 * @author fenge
 */
public class Read04 {
    String str = new String("good");
    char[] ch = {'a','b','c'};

    public static void main(String[] args) {
        Read04 ex = new Read04();
        ex.change(ex.str,ex.ch);
        System.out.print(ex.str+" and ");
        System.out.println(ex.ch);
    }
    void change(String str,char ch[]){
        str = "test ok";
        ch[0] = 'g';
    }
}
